export VERSION=$(curl -sL https://api.github.com/repos/microsoft/retina/releases/latest | jq -r .name)
helm upgrade --install retina oci://ghcr.io/microsoft/retina/charts/retina \
    --version $VERSION \
    --namespace kube-system \
    --set image.tag=$VERSION \
    --set operator.tag=$VERSION \
    --set image.pullPolicy=Always \
    --set logLevel=info \
    --set os.windows=true \
    --set operator.enabled=true \
    --set operator.enableRetinaEndpoint=true \
    --skip-crds \
    --set enabledPlugin_linux="\[dropreason\,packetforward\,linuxutil\,dns\,packetparser\]" \
    --set enablePodLevel=true \
    --set enableAnnotations=true

#    --set image.repository="ghcr.nju.edu.cn/microsoft/retina/retina-agent" \
#     --set image.initRepository="ghcr.nju.edu.cn/microsoft/retina/retina-init" \
#     --set operator.repository="ghcr.nju.edu.cn/microsoft/retina/retina-operator" \
